package com.codegeek.project.slope.mapper;

import com.codegeek.project.slope.domain.SlopeSubscribeDetail;

import java.util.List;

/**
 * 订阅详情Mapper接口
 * 
 * @author codegeek
 * @date 2020-02-17
 */
public interface SlopeSubscribeDetailMapper 
{
    /**
     * 查询订阅详情
     * 
     * @param subscribeDetailId 订阅详情ID
     * @return 订阅详情
     */
    public SlopeSubscribeDetail selectSlopeSubscribeDetailById(Long subscribeDetailId);

    /**
     * 查询订阅详情列表
     * 
     * @param
     * @return 订阅详情集合
     */
    public List<SlopeSubscribeDetail> selectSlopeSubscribeDetailList(SlopeSubscribeDetail rec);

    /**
     * 新增订阅详情
     * 
     * @param slopeSubscribeDetail 订阅详情
     * @return 结果
     */
    public int insertSlopeSubscribeDetail(SlopeSubscribeDetail slopeSubscribeDetail);

    /**
     * 修改订阅详情
     * 
     * @param slopeSubscribeDetail 订阅详情
     * @return 结果
     */
    public int updateSlopeSubscribeDetail(SlopeSubscribeDetail slopeSubscribeDetail);

    /**
     * 删除订阅详情
     * 
     * @param subscribeDetailId 订阅详情ID
     * @return 结果
     */
    public int deleteSlopeSubscribeDetailById(Long subscribeDetailId);

    /**
     * 批量删除订阅详情
     * 
     * @param subscribeDetailIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSlopeSubscribeDetailByIds(Long[] subscribeDetailIds);
}
